package com.prs.crm.service.cdxh.impl;

import java.util.List;

import com.prs.crm.dao.cdxh.StockPrecautionaryDao;
import com.prs.crm.domain.cdxh.StockPrecautionary;
import com.prs.crm.service.cdxh.StockPrecautionaryService;
import com.prs.crm.service.impl.BaseServiceImpl;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2010-12-13 下午05:51:39
 * 简单说明
 */

public class StockPrecautionaryServiceImpl extends
		BaseServiceImpl<StockPrecautionary, StockPrecautionaryDao> implements
		StockPrecautionaryService {

	@Override
	public StockPrecautionary getStockPrecautionaryByProductId(String productId) {
		
		return this.getDao().getStockPrecautionaryByProductId(productId);
	}

	@Override
	public void saveOrStockPrecautionary(StockPrecautionary stockPrecautionary) {
		this.getDao().saveOrStockPrecautionary(stockPrecautionary);
		
	}

	@Override
	public List<StockPrecautionary> getStockPrecautionaryList() {
		// TODO Auto-generated method stub
		return this.getDao().getStockPrecautionaryList();
	}

	@Override
	public void setById(StockPrecautionary kl) {
		this.getDao().setById(kl);
		
	}


}
